Skip to content

feat(stovepipe): Add project result metrics - #1172

Open
prathshenoy wants to merge 1 commit into
mainfrom
prathshenoy/stovepipe-project-result-metrics
Open

prathshenoy wants to merge 1 commit into
mainfrom
prathshenoy/stovepipe-project-result-metrics

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Record green and broken project-result counts, requests with breakage, and distributions of total results, broken results, and broken fractions per request.
  • Avoid repeating observations when persisted work is retried or request summaries are repaired.

Why:

  • Show how frequently requests encounter broken projects and how widespread the impact is. Individual request results do not reveal aggregate trends, and raw broken counts alone cannot distinguish a small isolated failure from most of a request's projects failing.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR. Removing metric emission leaves retained project results and request history unchanged.

Issue Links

@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-project-result-metrics branch from f8ebf4c to af2c083 Compare December 3, 2026 21:12
Record project observation counts and per-request breakage distributions at
the first durable project-facts event, without repeating samples on retries.
Share outcome-count validation with request summaries and cover empty sets,
large results, storage failures, and projection repair.

Refs: CODEM-475
@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-project-result-metrics branch from af2c083 to 64581c9 Compare December 3, 2026 21:24
@prathshenoy
prathshenoy marked this pull request as ready for review December 3, 2026 21:28
@prathshenoy
prathshenoy requested review from a team and sbalabanov as code owners December 3, 2026 21:28
@prathshenoy
prathshenoy enabled auto-merge December 3, 2026 21:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant